/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package data;

import java.util.Iterator;

/**
 *
 * @author Stratos
 */
public class Start {
    public static void main(String[] args) {
        World w = new World();
        RandomGenerator g = new RandomGenerator();
        Passenger p;
        Metro m = w.getMetro();
        m.printMap();
        p = g.generatePassenger(m);
        String str = p.whoAmI();
        System.out.println(str);
        Station s = p.findMyStation(p.getNearestStation(), m.getRedLine());
        s.board(p);
    }
    
}
